/*
 * Copyright (c) 2018, ZeeSec Technologies. All rights reserved.
 * ZeeSec PROPRIETARY/CONFIDENTIAL.
 */

package zeepos.mongo;

import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;

import com.mongodb.MongoClient;

/**
 * @author ZhiQiang Chen
 * @date 2018-11-28 15:13:43
 */

public class TestMongoKongGe {
    public static void main(String[] args) {
        MongoClient mongoClient = new MongoClient("192.168.1.188", 27111);
        MongoTemplate mongo = new MongoTemplate(mongoClient, "zeepolicy");
        Criteria criteria = Criteria.where("uuid").is("7330fc514797468e9365733da5a9b052");
        Query query = new Query(criteria);
    }
}
